package com.black.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.black.system.domain.SysConfig;
import com.black.system.domain.req.sysconfig.SysConfigQueryReq;
import com.black.system.domain.resp.sysconfig.SysConfigResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author L
 * @description 针对表【sys_config(参数配置表)】的数据库操作Mapper
 * @createDate 2024-08-19 10:07:23
 * @Entity com.black.system.domain.SysConfig
 */
public interface SysConfigMapper extends BaseMapper<SysConfig> {

    /**
     * 分页查询
     *
     * @param req
     * @return
     */
    List<SysConfigResp> paginationQuery(@Param("req") SysConfigQueryReq req);

    /**
     * 根据id导出
     *
     * @param ids
     * @return
     */
    List<SysConfigResp> exportByIds(@Param(value = "ids") Long[] ids);
}




